package com.wqr.it.ecwdr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.wqr.it.ecwdr.vo.CountryVO;
import com.wqr.it.ecwdr.vo.LogVO;
import com.wqr.it.ecwdr.vo.ProductItemHTMLVO;
import com.wqr.it.ecwdr.vo.ProductSalesInfoListHTMLVO;
import com.wqr.it.ecwdr.vo.ProductStockHTMLVO;
import com.wqr.it.ecwdr.vo.RobotCheckHtmlVO;
import com.wqr.it.ecwdr.vo.SourceVO;

/**
 * @author adinos
 *
 */
@Mapper
public interface IUtilDao {
	public void insertLog(LogVO log);
	
	public void insertProductItemHTML(ProductItemHTMLVO productItemHTMLVO);

	public void insertProductSalesInfoListHTML(ProductSalesInfoListHTMLVO productItemHTMLVO);

	public void insertProductStockHTML(ProductStockHTMLVO productStockHTMLVO);

	public void insertRobotCheckHtml(RobotCheckHtmlVO robotCheckHtmlVO);
	
	public void insertCountry(CountryVO countryVO);
	
	public CountryVO findCountryById(int id);
	
	public CountryVO findCountryByCode(String code);
	
	public List<CountryVO> findCountryAll();
	
	public SourceVO findSourceById(int id);
	
	
	public SourceVO findSourceByCode(String code);
	
	public void insertSource(SourceVO sourceVO);
}
